package com.liqw.provider.service.impl;

import com.liqw.provider.service.ProviderService;
import org.springframework.stereotype.Service;

@Service
public class ProviderServiceImpl implements ProviderService {

    @Override
    public String sayProvider() {
        return "hello sayProvider";
    }

    @Override
    public String sayProviderFallBack() {
        try {
            Thread.sleep(60000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "hello sayProviderFallBack";
    }
}
